package com.gxa.pojo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
@ApiModel(value = "商品表的实体")
public class Goods {
    @ApiModelProperty(name = "goods_id",value = "商品id",dataType = "Integer",required = false)
  private Integer goods_id;
    @ApiModelProperty(name = "gt_id",value = "商品种类id",dataType = "Integer",required = false)
  private Integer gt_id;
    @ApiModelProperty(name = "goods_name",value = "商品名称",dataType = "String",required = true)
  private String goods_name;
    @ApiModelProperty(name = "goods_pic",value = "商品图片",dataType = "String",required = false)
  private String goods_pic;
    @ApiModelProperty(name = "goods_descript",value = "商品规格",dataType = "String",required = false)
  private String goods_descript;
    @ApiModelProperty(name = "goods_barcode",value = "商品型号",dataType = "String",required = false)
  private String goods_barcode;
    @ApiModelProperty(name = "goods_unit",value = "商品库存",dataType = "Integer",required = true)
  private Integer goods_unit;
    @ApiModelProperty(name = "goods_warn_number",value = "库存告警数量(默认10)",dataType = "Integer",required = false)
  private Integer goods_warn_number=10;
    @ApiModelProperty(name = "goods_cost",value = "商品成本",dataType = "BigDecimal",required = true)
  private BigDecimal goods_cost;
    @ApiModelProperty(name = "goods_price",value = "商品当前售价",dataType = "BigDecimal",required = true)
  private BigDecimal goods_price;
    @ApiModelProperty(name = "goods_state",value = "商品备注",dataType = "String",required = false)
  private String goods_state;
    @ApiModelProperty(name = "goods_sort",value = "商品排序(默认100)",dataType = "Integer",required = false)
  private Integer goods_sort =100;
    @ApiModelProperty(name = "goods_status",value = "商品状态(默认1正常，2已删除)",dataType = "Integer",required = false)
    private Integer goods_status;
    @ApiModelProperty(name = "goodstype",value = "商品种类实体",dataType = "Integer",required = false)
    private Goodstype goodstype;

    public Goodstype getGoodstype() {
        return goodstype;
    }

    public void setGoodstype(Goodstype goodstype) {
        this.goodstype = goodstype;
    }

    public Integer getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Integer goods_id) {
        this.goods_id = goods_id;
    }

    public Integer getGt_id() {
        return gt_id;
    }

    public void setGt_id(Integer gt_id) {
        this.gt_id = gt_id;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getGoods_pic() {
        return goods_pic;
    }

    public void setGoods_pic(String goods_pic) {
        this.goods_pic = goods_pic;
    }

    public String getGoods_descript() {
        return goods_descript;
    }

    public void setGoods_descript(String goods_descript) {
        this.goods_descript = goods_descript;
    }

    public String getGoods_barcode() {
        return goods_barcode;
    }

    public void setGoods_barcode(String goods_barcode) {
        this.goods_barcode = goods_barcode;
    }

    public Integer getGoods_unit() {
        return goods_unit;
    }

    public void setGoods_unit(Integer goods_unit) {
        this.goods_unit = goods_unit;
    }

    public Integer getGoods_warn_number() {
        return goods_warn_number;
    }

    public void setGoods_warn_number(Integer goods_warn_number) {
        this.goods_warn_number = goods_warn_number;
    }

    public BigDecimal getGoods_cost() {
        return goods_cost;
    }

    public void setGoods_cost(BigDecimal goods_cost) {
        this.goods_cost = goods_cost;
    }

    public BigDecimal getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(BigDecimal goods_price) {
        this.goods_price = goods_price;
    }

    public String getGoods_state() {
        return goods_state;
    }

    public void setGoods_state(String goods_state) {
        this.goods_state = goods_state;
    }

    public Integer getGoods_sort() {
        return goods_sort;
    }

    public void setGoods_sort(Integer goods_sort) {
        this.goods_sort = goods_sort;
    }

    public Integer getGoods_status() {
        return goods_status;
    }

    public void setGoods_status(Integer goods_status) {
        this.goods_status = goods_status;
    }
}
